WebClearAllCustomHeaders

Note: This statement is only used in load test scripts. See Load Testing for more information.

Clears all custom headers created by WebSetCustomHeader statements sent with all web requests.

Syntax

WebClearAllCustomHeaders()

Example

'Clears existing headers before setting value to pass with request

WebClearAllCustomHeaders()

WebSetCustomHeader("AccessToken""9a38a382-9c0a-4b42-9c54-3f7db7de66af")

WebGet("http://www.wysicorp.com/login.php")

WebRemoveCustomHeader("AccessToken")